package com.wswy.wallerpaper;

import com.wswy.wallerpaper.server.GankApi;

/**
 * Created by yanqi1 on 2016/4/6.
 */
public class Factory {

    protected static final Object monitor = new Object();
    static GankApi sGankIOSingleton = null;
    public static final int Size = 21;
    public static final int KeySize = 10;

    public static final int levelsubject = 1;
    public static final int leveltag = 0;

    public static GankApi getGankIOSingleton() {
        synchronized (monitor) {
            if (sGankIOSingleton == null) {
                sGankIOSingleton = new MyRetrofit().getGankService();
            }
            return sGankIOSingleton;
        }
    }

}
